<template>
  <div class="tab_bar">
    <van-tabbar route>
      <van-tabbar-item replace to="/" icon="home-o"> 首页 </van-tabbar-item>
      <van-tabbar-item replace to="/home" icon="qr">分类</van-tabbar-item>
      <van-tabbar-item replace to="/ShopCart" icon="shopping-cart-o">购物车</van-tabbar-item>
      <van-tabbar-item replace to="/personal" icon="contact">个人</van-tabbar-item>
    </van-tabbar>
  </div>
</template>
<style lang="scss">
    .tab_bar{
        width: 100%;
        height: 1.2rem;
        position: fixed;
        bottom: 0;
        left: 0;
    }
</style>